package com.tac.service.mes;

import com.github.pagehelper.PageInfo;
import com.tac.common.result.Result;
import com.tac.pojo.mes.Bom;
import com.tac.pojo.mes.BomMaterial;

import java.util.List;

public interface BomService {
    public Result<PageInfo<Bom>> getList(Integer pageNum, Integer pageSize, String bomName);

    public Result save(Bom bom);

    public Result update(Bom bom);

    public Result remove(List<Integer> ids);

    public Result save2(BomMaterial bomMaterial);

    public Result update2(BomMaterial bomMaterial);

    public Result remove2(List<Integer> ids);
}
